home *** CD-ROM | disk | FTP | other *** search
- /* TestRexx1.rexx */
- /*
- This shows simple calls to SkoEd
-
- with SkoEd running, RX TestRexx1.rexx
-
- */
-
- Options FailAt 10
- Options results
-
- say 'About to Start'
- Address COMMAND 'wait' sec 4
- Address SKOED1 "Get_Var(LineNum)"
- say result
- Address SKOED1 "Get_Var(FileName)"
- file = result
- Address SKOED1 "Get_Var(FilePath)"
- path = result
- say path || file
- Address SKOED1 "Msg(Hello)"
- Address COMMAND 'wait' sec 4
- Address SKOED1 "Set_Var(INSERT FALSE)"
- if rc > 0 then
- exit (5)
- else
- say "Done"
- Address SKOED1 "UmmErr"
- if rc > 0 then
- say "Error"
- else
- say "All Done"
-